package com.airlines.crewassignment.entity.crewlocation;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * @author xianghaini
 * @date 2018/07/04 16:23:40
 * @company xxxx Airlines
 * @description  不在位信息
 */

public class CrewAbsent {

    /**
     * 不在位原因
     */
    private String absentReason;

    /**
     * 唯一键id
     */
    private Integer id;

    /**
     * 不在位类型
     */
    private String absentType;

    /**
     * 人员编码
     */
    private String pCode;

    /**
     * 开始日期
     */
    private String fromDate;

    /**
     * 结束日期
     */
    private String toDate;

    /**
     * 停飞原因
     */
    private String stopReason;

    /**
     * 停飞批准人
     */
    private String stopPerson;

    /**
     * 复飞原因
     */
    private String restoreReason;

    /**
     * 复飞批准人
     */
    private String restorePerson;

    /**
     * 修改人
     */
    private String operator;

    /**
     * 修改日期
     */
    private String opDate;

    /**
     * 是否启用
     */
    private String available;

    /**
     * 备注
     */
    private String remark;

    /**
     * 编号
     */
    private Integer serialNo;

    /**
     * 类型（飞行乘务还是空防）
     */
    private String moduleFlag;

    /**
     * 补时数
     */
    private Integer additionalHours;

    /**
     * 复飞延迟小时数
     */
    private Integer delayHours;

    /**
     * 人员姓名
     */
    private String name;

    /**
     * 工号
     */
    private  String  workcode1;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }

	public String getAbsentReason() {
		return absentReason;
	}

	public void setAbsentReason(String absentReason) {
		this.absentReason = absentReason;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAbsentType() {
		return absentType;
	}

	public void setAbsentType(String absentType) {
		this.absentType = absentType;
	}

	public String getPCode() {
		return pCode;
	}

	public void setPCode(String pCode) {
		this.pCode = pCode;
	}

	public String getFromDate() {
		return fromDate;
	}

	public void setFromDate(String fromDate) {
		this.fromDate = fromDate;
	}

	public String getToDate() {
		return toDate;
	}

	public void setToDate(String toDate) {
		this.toDate = toDate;
	}

	public String getStopReason() {
		return stopReason;
	}

	public void setStopReason(String stopReason) {
		this.stopReason = stopReason;
	}

	public String getStopPerson() {
		return stopPerson;
	}

	public void setStopPerson(String stopPerson) {
		this.stopPerson = stopPerson;
	}

	public String getRestoreReason() {
		return restoreReason;
	}

	public void setRestoreReason(String restoreReason) {
		this.restoreReason = restoreReason;
	}

	public String getRestorePerson() {
		return restorePerson;
	}

	public void setRestorePerson(String restorePerson) {
		this.restorePerson = restorePerson;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getOpDate() {
		return opDate;
	}

	public void setOpDate(String opDate) {
		this.opDate = opDate;
	}

	public String getAvailable() {
		return available;
	}

	public void setAvailable(String available) {
		this.available = available;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getSerialNo() {
		return serialNo;
	}

	public void setSerialNo(Integer serialNo) {
		this.serialNo = serialNo;
	}

	public String getModuleFlag() {
		return moduleFlag;
	}

	public void setModuleFlag(String moduleFlag) {
		this.moduleFlag = moduleFlag;
	}

	public Integer getAdditionalHours() {
		return additionalHours;
	}

	public void setAdditionalHours(Integer additionalHours) {
		this.additionalHours = additionalHours;
	}

	public Integer getDelayHours() {
		return delayHours;
	}

	public void setDelayHours(Integer delayHours) {
		this.delayHours = delayHours;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getWorkcode1() {
		return workcode1;
	}

	public void setWorkcode1(String workcode1) {
		this.workcode1 = workcode1;
	}

}
